--- id: TASK-019 title: 'Open directly in preview / reading mode (-p, --preview)' status: "\U0001F7E2 In progress" assignee: [] created_date: '2026-06-29 16:56' updated_date: '2026-06-29 17:49' labels: - feature - release-1 dependencies: [] priority: medium ordinal: 19000 --- ## Description Open a document straight into the Glamour read view, skipping the editor — turns glint into a glow-style markdown reader. Flag forms (matching the command convention): -p / --p / -preview / --preview, optionally with a file: 'glint -p notes.md' opens notes.md in preview; 'glint -p' could preview the picker selection or the current dir's pick. Implementation: main parses the preview flag and the app starts in ModePreview with the file loaded + rendered (a.Start variant that loads then togglePreview). Ctrl+P still toggles back to the editor; Esc/Ctrl+Q behave normally. Consider other reading-mode entry points later: a key in the picker to preview-without-editing, and a 'glint -p' over a directory/vault. Positioning: this lets glint replace glow as the terminal markdown reader. ## Acceptance Criteria - [ ] #1 glint -p [file] (and --preview / -preview / --p) opens the file directly in the read preview - [ ] #2 Ctrl+P toggles back to the editor; quit/esc behave normally - [ ] #3 Works as a glow-style reader (themed preview, no dark panels)